using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace DragonAwakening.Game.World
{
    /// <summary>
    /// World interface.
    /// </summary>
    public interface IWorld
    {
    }
    public static class WorldHelper
    {
        public static Point RotateOffset(Point offset, Sides focus)
        {
            Point result = offset;
            switch (focus)
            {
                case Sides.North: result = new Point(offset.X, -offset.Y); break;
                case Sides.South: result = new Point(-offset.X, offset.Y); break;
                case Sides.West: result = new Point(-offset.Y, -offset.X); break;
                case Sides.East: result = new Point(offset.Y, offset.X); break;
            }
            
            return result;
        }
    }
}
